<!DOCTYPE html>
<html lang="en">
  <head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="shortcut icon" href="/favicon.ico">

	<title>Music parser | Tracks</title>

	<!-- Bootstrap core CSS -->
	<link href="css/bootstrap.css" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="navbar-static-top.css" rel="stylesheet">

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	  <script src="js/html5shiv.js"></script>
	  <script src="js/respond.min.js"></script>
	<![endif]-->
  </head>

  <body>

  <!-- Static navbar -->
  	<div class="navbar navbar-default navbar-static-top">
  	  <div class="container">
  		<div class="navbar-header">
  		  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  			<span class="icon-bar"></span>
  			<span class="icon-bar"></span>
  			<span class="icon-bar"></span>
  		  </button>
  		  <a class="navbar-brand" href="#">Music parser</a>
  		</div>
  		  <ul class="nav navbar-nav navbar-right">
  			<li><a href="../">Home</a></li>
  			<li><a href="about">About</a></li>
  			<li><a href="artists">Artists</a></li>
  			<li class="active"><a href="tracks">Tracks</a></li>
  		  </ul>
  		</div><!--/.nav-collapse -->
  	  </div>
  	</div>


	<div class="container">

	  <!-- Main component for a primary marketing message or call to action -->
		<br/>
		
            <!-- Table -->
            <div class="navbar-default">
                </br></br><div align="center"><b> TRACKS: </b></div>
                <table class="table">
                    <tr>
                        <th><b> Track </b></th>
                        <th><b> Artist </b></th>
                    </tr>
                    <#list trackResults as trackResults>
                    <tr>
                        <td>

                            <ul>
                                <li>${trackResults.getName()}</li>
                            </ul>

                        </td>
                        <td>

                            ${trackResults.getArtistName()}

                        </td>
                        <td>

                            <img src="${trackResults.getImageURL()}" alt="trackname" class="img-thumbnail">

							</td>
                        <td>

                            <a href="http://music.yandex.ru/?ncrnd=2965#!/search?text=${trackResults.getName()}" title="Play via music.yandex.ru"><img src="http://www.google.com/s2/favicons?domain=music.yandex.ru"></a>
                            	    <a  href="http://www.last.fm/search?q=${trackResults.getName()}" title="Play via last.fm"><img src="http://www.google.com/s2/favicons?domain=last.fm"></a>
                            	    <a href="http://grooveshark.com/#!/search?q=${trackResults.getName()}" title="Play via grooveshark"><img src="http://www.google.com/s2/favicons?domain=grooveshark.com"></a>

                        </td>
                    </tr>
                    </#list>
                </table>

	</div> <!-- /container -->


	<!-- Bootstrap core JavaScript
	================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="js/jquery.js"></script>
	<script src="js/bootstrap.min.js"></script>

<footer  align="center">Q1-2014 mentoring with Viktor Cherniavskyi</footer>

  </body>
</html>
